﻿@model System.Collections.Generic.List<Tippelde.Web.Models.Group.SelectableGroupHeaderData>


    
        @for(int i = 0; i<Model.Count; i++) {
        <div class="form-control">        
            @Html.Hidden(String.Format("{0}[{1}].Key", ViewData["ModelName"], i),Model[i].Id)
            @Html.CheckBox(String.Format("{0}[{1}].Value", ViewData["ModelName"], i), Model[i].IsSelected)
            @Html.Label(Model[i].Name, new { @for = String.Format("{0}_{1}__Value", ViewData["ModelName"], i) })
        </div>
        }
    

